package com.zhyaoqi.platformautoplug.app;

import android.app.Application;

import com.blankj.utilcode.util.AppUtils;
import com.blankj.utilcode.util.Utils;

public class MyApplication extends Application {
    private static MyApplication instance;

    @Override
    public void onCreate() {
        super.onCreate();
        instance = this;
        Utils.init(this);
    }

    public static MyApplication getInstance(){
        return instance;
    }

    public void startApp(String s) {
        AppUtils.launchApp(s);
    }
}
